<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>lwIP: acd Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">lwIP
   &#160;<span id="projectnumber">2.2.0</span>
   </div>
   <div id="projectbrief">Lightweight IP stack</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structacd.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">acd Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;acd.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:aa14c2b88cd471839d5b5de80bb46a9aa"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structacd.html">acd</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structacd.html#aa14c2b88cd471839d5b5de80bb46a9aa">next</a></td></tr>
<tr class="separator:aa14c2b88cd471839d5b5de80bb46a9aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2c795ee5b09085bca592d830a388448"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structacd.html#af2c795ee5b09085bca592d830a388448">ipaddr</a></td></tr>
<tr class="separator:af2c795ee5b09085bca592d830a388448"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eb0fe6d6f5dbc49b6b9b8bb5aa214bb"><td class="memItemLeft" align="right" valign="top">acd_state_enum_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structacd.html#a4eb0fe6d6f5dbc49b6b9b8bb5aa214bb">state</a></td></tr>
<tr class="separator:a4eb0fe6d6f5dbc49b6b9b8bb5aa214bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ab002648d338ae33ffd3829e23703cb"><td class="memItemLeft" align="right" valign="top">u8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structacd.html#a4ab002648d338ae33ffd3829e23703cb">sent_num</a></td></tr>
<tr class="separator:a4ab002648d338ae33ffd3829e23703cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabde1967e37d685b19b9701af641a97c"><td class="memItemLeft" align="right" valign="top">u16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structacd.html#aabde1967e37d685b19b9701af641a97c">ttw</a></td></tr>
<tr class="separator:aabde1967e37d685b19b9701af641a97c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dd4e1b82dd3e97717f011dbf862a58e"><td class="memItemLeft" align="right" valign="top">u8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structacd.html#a9dd4e1b82dd3e97717f011dbf862a58e">lastconflict</a></td></tr>
<tr class="separator:a9dd4e1b82dd3e97717f011dbf862a58e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab40b6b3cf57634135753f2426207f84a"><td class="memItemLeft" align="right" valign="top">u8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structacd.html#ab40b6b3cf57634135753f2426207f84a">num_conflicts</a></td></tr>
<tr class="separator:ab40b6b3cf57634135753f2426207f84a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a03aa687716055a4f75f6e5e380e46e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="acd_8h.html#abb446404752f56b028eafa8302db955f">acd_conflict_callback_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structacd.html#a3a03aa687716055a4f75f6e5e380e46e">acd_conflict_callback</a></td></tr>
<tr class="separator:a3a03aa687716055a4f75f6e5e380e46e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>ACD state information per netif </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a3a03aa687716055a4f75f6e5e380e46e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a03aa687716055a4f75f6e5e380e46e">&#9670;&nbsp;</a></span>acd_conflict_callback</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="acd_8h.html#abb446404752f56b028eafa8302db955f">acd_conflict_callback_t</a> acd::acd_conflict_callback</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>callback function -&gt; let's the acd user know if the address is good or if a conflict is detected </p>

</div>
</div>
<a id="af2c795ee5b09085bca592d830a388448"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2c795ee5b09085bca592d830a388448">&#9670;&nbsp;</a></span>ipaddr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ip4__addr_8h.html#a3d3b45daffbc15d65da236e31e621b7e">ip4_addr_t</a> acd::ipaddr</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the currently selected, probed, announced or used IP-Address </p>

</div>
</div>
<a id="a9dd4e1b82dd3e97717f011dbf862a58e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dd4e1b82dd3e97717f011dbf862a58e">&#9670;&nbsp;</a></span>lastconflict</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8_t acd::lastconflict</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>ticks until a conflict can again be solved by defending </p>

</div>
</div>
<a id="aa14c2b88cd471839d5b5de80bb46a9aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa14c2b88cd471839d5b5de80bb46a9aa">&#9670;&nbsp;</a></span>next</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structacd.html">acd</a>* acd::next</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>next acd module </p>

</div>
</div>
<a id="ab40b6b3cf57634135753f2426207f84a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab40b6b3cf57634135753f2426207f84a">&#9670;&nbsp;</a></span>num_conflicts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8_t acd::num_conflicts</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>total number of probed/used IP-Addresses that resulted in a conflict </p>

</div>
</div>
<a id="a4ab002648d338ae33ffd3829e23703cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ab002648d338ae33ffd3829e23703cb">&#9670;&nbsp;</a></span>sent_num</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8_t acd::sent_num</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>sent number of probes or announces, dependent on state </p>

</div>
</div>
<a id="a4eb0fe6d6f5dbc49b6b9b8bb5aa214bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4eb0fe6d6f5dbc49b6b9b8bb5aa214bb">&#9670;&nbsp;</a></span>state</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">acd_state_enum_t acd::state</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>current ACD state machine state </p>

</div>
</div>
<a id="aabde1967e37d685b19b9701af641a97c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabde1967e37d685b19b9701af641a97c">&#9670;&nbsp;</a></span>ttw</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16_t acd::ttw</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>ticks to wait, tick is ACD_TMR_INTERVAL long </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/include/lwip/<a class="el" href="acd_8h.html">acd.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structacd.html">acd</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
